import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "./plugins/element.js";

//引入mockjs
require("./mock/index.js");
//引入axios
import axios from "axios";
Vue.prototype.$axios = axios; //全局注册，使用方法为:this.$axios
// 引入echarts
import echarts from "echarts";
Vue.prototype.$echarts = echarts;
Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
